//Download by http://www.NewXing.com
#if !defined(AFX_FORMATBAR_H__05BA17CA_FE11_41DA_8420_F592F473034B__INCLUDED_)
#define AFX_FORMATBAR_H__05BA17CA_FE11_41DA_8420_F592F473034B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FormatBar.h : header file
//

#include "FontName.h"	
#include "FontSize.h"	
/////////////////////////////////////////////////////////////////////////////
// CFormatBar window
struct CHARNMHDR : public NMHDR
{
	CHARFORMAT cf;
	CHARNMHDR() {cf.cbSize = sizeof(CHARFORMAT);}
};

class CFormatBar : public CToolBar
{
// Construction
public:
	CFormatBar();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFormatBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	CFontSize m_cmbFontSize;
	CFontName m_cmbFontName;
	
	BOOL InitData(CView * pView);
	virtual ~CFormatBar();
	// Generated message map functions
protected:
	//{{AFX_MSG(CFormatBar)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FORMATBAR_H__05BA17CA_FE11_41DA_8420_F592F473034B__INCLUDED_)
